package com.zjcode.cdcer.service;

import com.chinatechstar.component.commons.supports.PageData;
import com.zjcode.cdcer.model.basic.JsonObj;
import com.zjcode.cdcer.service.fallback.TkmSysUserServiceFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "zjcode-chronic-disease-cancer-server", fallback = TkmSysUserServiceFallBack.class)
public interface TkmSysUserService {

    @PostMapping("/cdcerserver/v1/tkmSysUser/updateUserPassword")
    JsonObj updateUserPassword(@RequestBody PageData pageData);
    @PostMapping("/cdcerserver/v1/tkmSysUser/getToken")
    JsonObj getToken(@RequestBody PageData pageData);
}
